package com.ftg.midamall.mapper;

import com.ftg.midamall.dto.PmsProductDto;
import com.ftg.midamall.entity.PmsProduct;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 商品信息 Mapper 接口
 * </p>
 *
 * @author wrn
 * @since 2023-10-25
 */

@Mapper
public interface PmsProductMapper extends BaseMapper<PmsProduct> {

    PmsProductDto showPmsProductId(@Param("id") PmsProduct id);

    Integer deleteById(@Param("id") Long id);



}
